package city.spring.modules.bed.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

/**
 * 实体类：楼栋信息
 *
 * @author 侯坤林
 * @date 2020-04-26 12:01:12
 */
@Data
@NoArgsConstructor
@EqualsAndHashCode(callSuper = true)
@TableName("bed_building")
public class BedBuildingEntity extends BaseStruct<BedFloorEntity> {
    public static final BedBuildingEntity EMPTY = new BedBuildingEntity("0", "<未找到>");

    public BedBuildingEntity(String code, String name) {
        super();
        this.code = code;
        this.name = name;
    }

    @Override
    public String getPid() {
        return "";
    }
}